{% extends "base.html" %}
<body>
{% block detail %}

    <div id="top_navi_login_modal" class="reveal-modal">
        <h2>难题解决方案添加</h2>

        <p class="lead"></p>
        <hr/>
        <div class="login_form">
            <form action="/addSolution/" method="post">
                {% csrf_token %}
                {{ form }}
                <p>
                    <input type="hidden" name="problemId" value="{{ problemId }}">
                    <input type="hidden" name="caseId" value="{{ caseId }}">
                    <button type="submit">提交</button>
                </p>

            </form>
        </div>

        <a class="close-reveal-modal">&#215;</a>
    </div>

{% endblock %}
{% block js %}

{% endblock %}
</body>
</html>